package com.abc.scholarship.service;

import com.abc.scholarship.domain.dto.PlusesDTO;
import com.abc.scholarship.domain.entity.Apply;
import com.abc.scholarship.domain.page.PageDTO;
import com.abc.scholarship.domain.page.PageQuery;
import com.abc.scholarship.domain.vo.resp.ApplyVO;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 申请表 服务类
 * </p>
 *
 * @author jzw
 * @since 2024-07-02
 */
public interface ApplyService extends IService<Apply> {

    void examineApply(Long applyId, Integer status);

    void addApply(List<PlusesDTO> plusesDTOList );

    PageDTO<ApplyVO> queryApply(PageQuery query);

    void updateApply(List<PlusesDTO> plusesDTOList, Long applyId);

    PageDTO<ApplyVO> stuQueryApply(PageQuery query);
}
